<template>
      <view class="login-wrapper">
        <view class="buttons">
          <view class="btn weiChat-btn" @click="weChatLogin">
            <text>一键授权登录</text>
          </view>
          <view class="btn register-btn" @click="loginBtn">手机号登录/注册</view>
        </view>
      </view>
  </template>
  
  <script setup>
  
  const loginBtn = () => {
    console.log('loginBtn')
  }
  
  const weChatLogin = () => {
    console.log('weChatLogin');
    uni.lan.clog();
  }
  
  
  
  </script>
  <style lang="scss" scoped>

  
    .login-wrapper {
      display: flex;
      flex-direction: column;
      padding: 0 46rpx 0 46rpx;
  
      .buttons {
        display: flex;
        flex-direction: column;
        margin-top: 24rpx;
        row-gap: 40rpx;
  
        .btn {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 600rpx;
          height: 88rpx;
          border-radius: 100rpx;
          column-gap: 18rpx;
  
          image {
            width: 50rpx;
            height: 50rpx;
          }
        }
  
        .weiChat-btn {
          font-size: 28rpx;
          color: #ffffff;
          background: linear-gradient(135deg, #4b84ff 0%, #155dff 100%);
        }
  
        .register-btn {
          font-size: 28rpx;
          color: #9e9e9e;
          background: #f6f6f6;
        }
      }
    }
  

  </style>